<template>
    <el-select v-bind="$props">
      <el-option
        v-for="item in items"
        :key="item.value"
        :label="item.label"
        :value="item.value"
        :disabled="item.disabled"
      />
    </el-select>
  </template>

<script setup lang="ts">
const props = defineProps<{
    items: { value: string|number, label: string,disabled?:boolean }[]
}>()
</script>